package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 业务员信息对象 tb_cpad_sale
 * 
 * @author ruoyi
 * @date 2024-07-17
 */
public class TbCpadSale extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 业务员姓名 */
    @Excel(name = "业务员姓名")
    private String saleName;

    /** 业务员身份证号 */
    @Excel(name = "业务员身份证号")
    private String saleIdcard;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String salePhone;

    /** 业务员等级 */
    @Excel(name = "业务员等级")
    private String saleType;

    /** 是否删除 */
    private Integer delFlag;

    /** 在职状态 */
    @Excel(name = "在职状态")
    private Integer saleStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSaleName(String saleName) 
    {
        this.saleName = saleName;
    }

    public String getSaleName() 
    {
        return saleName;
    }
    public void setSaleIdcard(String saleIdcard) 
    {
        this.saleIdcard = saleIdcard;
    }

    public String getSaleIdcard() 
    {
        return saleIdcard;
    }
    public void setSalePhone(String salePhone) 
    {
        this.salePhone = salePhone;
    }

    public String getSalePhone() 
    {
        return salePhone;
    }
    public void setSaleType(String saleType) 
    {
        this.saleType = saleType;
    }

    public String getSaleType() 
    {
        return saleType;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }
    public void setSaleStatus(Integer saleStatus) 
    {
        this.saleStatus = saleStatus;
    }

    public Integer getSaleStatus() 
    {
        return saleStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("saleName", getSaleName())
            .append("saleIdcard", getSaleIdcard())
            .append("salePhone", getSalePhone())
            .append("saleType", getSaleType())
            .append("delFlag", getDelFlag())
            .append("saleStatus", getSaleStatus())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
